Page 91 - 2629_Devagiri_C-6
P. 91
SHORT SIGN
1 Type the Python code
into the editor window.
To save the current
file: Ctrl + S
2 Click on the File menu.
4 Select the location where you
3 Click on the Save option. want to save the file.
The Save As dialog box
appears.
5 Enter the name of the file 6 Click on the
in the File name text box. Save button.
The Python program is now saved on your computer, ready to be executed.
Executing a Program
After writing and saving the Python program, you can run it to see the output. To execute the
Python program, follow the given steps:
1 Click on the Run menu.
2 Click on the Run Module option.
The program will execute and the output will appear in the Shell window.
SHORT SIGN
To run the program:
F5
Running a program helps to test and debug code effectively.
89
Python–Start to Code

